SOURCES +=  main.cpp \
            mainwindow.cpp \
            document.cpp \
            edge.cpp \
            node.cpp \
            dialog.cpp \
            stringtable.cpp \
            texttablemodel.cpp \
            commands/command.cpp \
            commands/addnodecommand.cpp \
            commands/removenodecommand.cpp \
            commands/resizenodecommand.cpp \
            commands/setnodecolorcommand.cpp \
            commands/movenodecommand.cpp \
            commands/addedgecommand.cpp \
            commands/removeedgecommand.cpp \
            commands/changebalcommand.cpp \
    dialog_settings.cpp \
    modulemanifest.cpp \
    modulestabdialog.cpp
  
HEADERS +=  mainwindow.h \
            document.h \
            edge.h \
            node.h \
            dialog.h \
            stringtable.h \
            texttablemodel.h \
            commands/command.h \
            commands/addnodecommand.h \
            commands/removenodecommand.h \
            commands/resizenodecommand.h \
            commands/setnodecolorcommand.h \
            commands/movenodecommand.h \
            commands/addedgecommand.h \
            commands/removeedgecommand.h \
            commands/changebalcommand.h \
            dialog_settings.h \
    modulemanifest.h \
    modulestabdialog.h

INCLUDEPATH += . commands
            
FORMS += mainwindow.ui \
         dialog.ui \
         dialog_settings.ui

TARGET = EEClient

build_all:!build_pass {
    CONFIG -= build_all
}

QT += xml
RESOURCES += \
    EEClient.qrc

unix {
    QMAKE_CXXFLAGS_DEBUG = -g
    CONFIG += debug
    SYSTEM = unix
}

win32 {
#    CONFIG += debug
    SYSTEM = win32
}

OBJECTS_DIR = build/$$SYSTEM
MOC_DIR = build/$$SYSTEM
RCC_DIR = build/$$SYSTEM
UI_DIR = build/$$SYSTEM
